package com.weixiao.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * author 韩诚
 * date 2022/10/27
 */
public interface FileService {
    /**
     * 上传文件到阿里云oss
     *
     * @param file
     * @return
     * @throws IOException
     */
    String upload(MultipartFile file) throws IOException;
}